﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace MyFace
{
    class Jogo : Estado
    {


        Peca test = new Peca(new Vector2(10, 10), new Rectangle(10, 10, 60, 60), @"Jogo/bocas/boc1");
        public void Initialize()
        {
            test = new Peca(new Vector2(10, 10), new Rectangle(10, 10, 60, 60), @"Jogo/bocas/boc1");
        }
        public void Load(ContentManager Content)
        {
            test.Load(Content);
        }
        public void Update(GameTime gameTime)
        {
            test.Update(gameTime);
        }
        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.DrawString(Game1.Font, Game1.lines[0], new Vector2(10, 10), Color.Yellow);
            spriteBatch.DrawString(Game1.Font, Game1.lines[1], new Vector2(10, 30), Color.Yellow);
            spriteBatch.DrawString(Game1.Font, Game1.lines[2], new Vector2(10, 50), Color.Yellow);
            test.Draw(spriteBatch);
        }
    }
}
